package com.ky.gp.app.service;

import com.ky.common.vo.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "lc-userserver")
public interface QuestionFeign {
    @RequestMapping("/question/findAllQuestion")
    R question();
    @RequestMapping("/question/findAllQuestionByType")
    R findAllQuestionByType(@RequestParam("type")Integer type);
}
